'use strict';


// Declare app level module which depends on filters, and services
angular.module('aumonerie', ['myApp.filters', 'myApp.services', 'myApp.directives', 'myApp.controllers']).
  config(['$routeProvider', function($routeProvider) {
    $routeProvider.when('/acueil', {templateUrl: 'templates/admin-index.html', controller: 'ctrlAccueil'});
    $routeProvider.when('/evenements', {templateUrl: 'templates/admin-evenements.html', controller: 'ctrlEvenement'});
    $routeProvider.otherwise({redirectTo: '/acueil'});
  }]);
